CUW\App\Controllers\Admin\Ajax C

Total Complexity 108
Dependencies 15
Dependents 1
Total lines 694
Lines of code 463
Logical lines of code 237
Comment lines 149
Methods 29
Properties 0

Methods 29

Method Rating Maintainability Complexity Lines of code
changeCartItemVariant()
A
45 12 37
saveCampaign()
A
44 11 42
getAllOffersHtml()
A
55 8 18
saveSettings()
S
47 6 31
saveOffer()
S
51 6 26
listProducts()
S
50 5 25
bulkActions()
S
53 5 21
sanitizeOffer()
S
58 5 15
getOfferImage()
S
61 5 11
enableCampaign()
S
56 4 17
addProductToCart()
S
57 4 14
deleteCampaign()
S
57 3 16
handleAuthRequests()
S
63 4 9
handleGuestRequests()
S
63 4 9
duplicateCampaign()
S
59 3 14
deleteOffer()
S
60 3 13
listTaxonomies()
S
56 2 18
verifyNonce()
S
68 3 6
performAction()
S
66 3 7
getProductDetailsPopup()
S
60 2 13
removeItemFromCart()
S
61 2 11
getAuthRequestHandlers()
S
51 1 26
listCoupons()
S
59 1 14
getGuestRequestHandlers()
S
61 1 12
getOfferTemplate()
S
61 1 12
getChartData()
S
64 1 8
getUpsellInfo()
S
64 1 8
addOfferToCart()
S
66 1 7
getSearchLimit()
S
78 1 3